# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-speech2text
pkgver=0.2.1
pkgrel=3
pkgdesc="Mycroft STT engine wrappers"
url="https://github.com/JarbasAl/speech2text"
arch="noarch"
license="Apache-2.0"
depends="
	py3-requests
	py3-speechrecognition
	python3
	"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/s/speech2text/speech2text-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/speech2text-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e1db7870c10168e29b844442873d4fb6c4cecc4994dffa0790f4d611dcf6aa5b385e5fee7a95c31851c9ebc79d7807a7ec4099dd6f71c7b6722dd293ca1eab3f  speech2text-0.2.1.tar.gz"
